package com.cdxy.biz.process.impl;

import com.cdxy.biz.process.IHotSearchBizProcess;
import com.cdxy.model.dto.base.resp.BasePageResp;
import com.cdxy.model.dto.req.SearchResultReq;
import com.cdxy.model.dto.resp.SearchResultResp;
import com.cdxy.service.IHotSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: tangy
 * @Date: 2020/3/25 18:27
 */
@Service
public class HotSearchBizProcessImpl implements IHotSearchBizProcess {

    @Autowired
    private IHotSearchService hotSearchService;

    @Override
    public BasePageResp<SearchResultResp> searchResult(SearchResultReq searchResultReq) {
        return hotSearchService.searchResult(searchResultReq);
    }
}
